import { useStore } from '../store/index.js'; 
import { observer } from 'mobx-react-lite';

function Foo() {
    const {taskStore} = useStore()
    return (
      <div>
        <ul>
          {
            taskStore.list.map((item, index) => {
              return <li key={item}>{index}</li>
            })
          }
        </ul>
      </div>
    )
}

export default observer(Foo)


